package com.qf.hospital.system.enums;

public enum HospitalEnum {
    PARAMETER_ERROR(101,"参数不合法！"),
    USERNAME_PASSWORD_ERROR(102,"用户名或密码错误!"),
    ADD_REPORT_ERROR(103,"添加挂号信息失败！！"),
    UPDATE_BING_ERROR(104,"修改病因失败！！"),
    ;


    private Integer code;

    private String msg;

    HospitalEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
